If fasmHlpr past text to untitled file, than fasm not save file and crash.

First save file in fasmIDE 1.73, than past text from fasmHlpr. This variant work fine.

My program each 100 Milliseconds do this. This was problem !


invoke  FindWindow,    "FASMW_IDE32", 0
        test    eax,eax
        jz      .no_ide

        mov     ebx,eax

        invoke  SendMessage,    ebx, FM_GETSELECTED, 0, 0
        invoke  SendMessage,    ebx, FM_GETHANDLE, eax, 0
.no_ide:
    

Set >Notepad in fasmHlpr, than save file in fasmIDE 1.73 !
Than set >Fasm in fasmHlpr.

Fix problem: put this code in wndproc when message WM_COMMAND, now work well.
cmp     [wmsg],WM_COMMAND
     jnz     .defwndproc
pusha
;Msg "WM_COMMAND"
call CheckFEDIT.b
popa